﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;

namespace Blog.Core.DTO.ViewModel.Dictionary
{
    public class PostDictTypeDTO
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        public int Dict_id { get; set; }
        /// <summary>
        /// 字典类型
        /// </summary>
        public string Dict_type { get; set; }
        /// <summary>
        /// 状态（0正常 1停用）
        /// </summary>
        public int Status { get; set; } = 0;
        /// <summary>
        /// 备注
        /// </summary>
        public string? remark { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        [Display(Name = "创建人")]
        public string? CreateName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Display(Name = "创建时间")]
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        [Display(Name = "修改人")]
        public string? UpdateName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        [Display(Name = "修改时间")]
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 软删除
        /// </summary>
        [Display(Name = "软删除")]
        public int Delete { get; set; } = 0;
    }
}
